#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSDate (BRPickerView)
@property (readonly) NSInteger br_year;    
@property (readonly) NSInteger br_month;   
@property (readonly) NSInteger br_day;     
@property (readonly) NSInteger br_hour;    
@property (readonly) NSInteger br_minute;  
@property (readonly) NSInteger br_second;  
@property (readonly) NSInteger br_weekday; 
@property (nonatomic, readonly, copy) NSString *br_weekdayString;
+ (nullable NSDate *)br_setYear:(NSInteger)year;
+ (nullable NSDate *)br_setYear:(NSInteger)year month:(NSInteger)month;
+ (nullable NSDate *)br_setYear:(NSInteger)year month:(NSInteger)month day:(NSInteger)day;
+ (nullable NSDate *)br_setYear:(NSInteger)year month:(NSInteger)month day:(NSInteger)day hour:(NSInteger)hour;
+ (nullable NSDate *)br_setYear:(NSInteger)year month:(NSInteger)month day:(NSInteger)day hour:(NSInteger)hour minute:(NSInteger)minute;
+ (nullable NSDate *)br_setYear:(NSInteger)year month:(NSInteger)month day:(NSInteger)day hour:(NSInteger)hour minute:(NSInteger)minute second:(NSInteger)second;
+ (nullable NSDate *)br_setMonth:(NSInteger)month day:(NSInteger)day hour:(NSInteger)hour minute:(NSInteger)minute;
+ (nullable NSDate *)br_setMonth:(NSInteger)month day:(NSInteger)day;
+ (nullable NSDate *)br_setDay:(NSInteger)day hour:(NSInteger)hour minute:(NSInteger)minute;
+ (nullable NSDate *)br_setHour:(NSInteger)hour minute:(NSInteger)minute second:(NSInteger)second;
+ (nullable NSDate *)br_setHour:(NSInteger)hour minute:(NSInteger)minute;
+ (nullable NSDate *)br_setMinute:(NSInteger)minute second:(NSInteger)second;
+ (nullable  NSString *)br_getDateString:(NSDate *)date format:(NSString *)format;
+ (nullable  NSDate *)br_getDate:(NSString *)dateString format:(NSString *)format;
+ (NSUInteger)br_getDaysInYear:(NSInteger)year month:(NSInteger)month;
- (nullable NSDate *)br_getNewDate:(NSDate *)date addDays:(NSTimeInterval)days;
- (nullable NSString *)br_addDays:(NSTimeInterval)days hours:(NSTimeInterval)hours minute:(NSTimeInterval)minute;
- (NSComparisonResult)br_compare:(NSDate *)targetDate format:(NSString *)format;
@end
NS_ASSUME_NONNULL_END
